home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 2 / The Arsenal Files 2 (Arsenal Computer).ISO / dbase / btriev.txt < prev    next >
Text File  |  1994-04-23  |  6KB  |  132 lines

  1. Btrieve parameters
  2. ------------------
  3.     BTRIEVE [/M:xx]         Memory size
  4.         [/P:xx]         Page size
  5.         [/T:xx]         Transaction filename
  6.         [/C]         Index compaction
  7.         [/U:xx]         Compression buffer size
  8.         [/I:xx]         Pre-image file drive
  9.         [/B:xx]         Pre-image buffer size
  10.         [/F:xx]         Open files
  11.         [/L:xx]         Locks
  12.         [/E]         Expanded memory
  13.         [/O]         Override critical error
  14.  
  15. /M:xx Memory size
  16. -----------------
  17. The memory size option determines the memory size in kilobytes units
  18. of Btrieve's cache buffers. The default value for this option is 32KB.
  19. Valid sizes are from 9KB to 64KB inclusive.
  20. ex. /M:48
  21.  
  22. /P:xx Page size
  23. ---------------
  24. The page size option specifies the maximum page size of any Btrieve
  25. file you wish to access. This option, along with the /M option,
  26. determines the size of buffers Btrieve allocates in cache. When
  27. you omit the /P option, Btrieve calculates a buffer size based on the
  28. amount of memory you specified with the /M option.
  29. The page size you specify must be a multiple of 512 bytes but can be
  30. no greater than 4096 bytes. If you specify a page size of 4096 bytes,
  31. you must specify at least 36KB for the /M option. The larger the page
  32. size, the fewer buffers Btrieve allocates within the memory specified
  33. on the /M option.
  34. ex. /P:1536
  35.  
  36. /T:xx Transaction filename
  37. --------------------------
  38. The transaction filename option specifies the location where you
  39. want Btrieve to store the transaction control file. You must specify
  40. the transaction filename option if your application issuses Begin,
  41. End, or Abort Transaction calls. The filename may include a drive
  42. and directory specification.
  43. ex. /T:C:\CLARION3\CLARION3.TRN
  44.  
  45. /I:xx Pre-image file-drive
  46. --------------------------
  47. The pre-image file drive option directs your pre-image files to a
  48. drive other than the one storing Btrieve files. If the drive you specify
  49. is a RAM disk, the disk I/O normaly required for pre-imaging is
  50. eliminated, but Btrieve cannot automatically recover damaged files
  51. after a system failure. If one station on the network loads Btrieve
  52. with the /I option, all stations should do so.
  53. ex. /I:D
  54.  
  55. /C Index compaction
  56. -------------------
  57. The index compaction option directs Btrieve to perform index
  58. compaction on update and insert operations.
  59. ex. /C
  60.  
  61. /B:xx Pre-image buffer-size
  62. ---------------------------
  63. The pre-image buffer size option specifies the total amount of memory
  64. Btrieve uses for pre-image buffers. The default value is 16KB.
  65. ex. /B:5
  66.  
  67. /F:xx Open files
  68. ----------------
  69. The open files option specifies the maximum number of unique
  70. Btrieve data files an application can have open simultaneously in the
  71. system. The default value is 20. The maximum number you can specify
  72. is 255.
  73. ex. /F:128
  74.  
  75. /L:xx Locks
  76. -----------
  77. The locks option specifies the maximum number of multiple record
  78. locks that can be active simultaneously at a workstation. Specifically
  79. this option determines the number of antries for the lock table that
  80. Btrieve builds when it loads.
  81. The default value for the /L option is 20. The maximum value you can
  82. specify for this option is 255. Each lock increases the memory resident
  83. size of Btrieve by six bytes.
  84. ex. /L:40
  85.  
  86. /E Expanded memory
  87. ------------------
  88. The expanded memory option does not require an argument. When
  89. you specify the /E option, Btrieve will not use expanded memory for
  90. its data buffers. You do not need to specify the /E option if your
  91. machine does not use expanded memory. Btrieve checks for the
  92. presence of expanded memory when it loads, and uses the main
  93. memory of the computer if no expanded memory is present.
  94. If your application stores its data in expanded memory, you must
  95. specify the /E option when you load Btrieve. Data stored in
  96. in Btrieve's data segment can be corrupted if both Btrieve and your
  97. application store data in expanded memory. Btrieve will not return
  98. an error in this situation.
  99. ex. /E
  100.  
  101. /O Override critical error
  102. --------------------------
  103. The override critical error option controls the way Btrieve responds
  104. to a DOS critical error, such as "Drive Not Ready". The /O option does
  105. not require an argument.
  106. If you do NOT specify the /O option when you start Btrieve, it will
  107. route the error to the standard DOS critical error handler. This
  108. usually result in a DOS error message being written to the screen. The
  109. user can either abort or retry the operation in response to the error.
  110. If you specify the /O option and a DOS critical error occurs during a
  111. Btrieve disk operation, Btrieve will return a status code, usually a
  112. status 2 (I/O error) or 12 (File not found), to your application
  113. ex. /O
  114.  
  115. /U:xx Compression buffer size
  116. -----------------------------
  117. Btrieve uses the compression buffer size option to allocate the length
  118. of the compression buffer it uses for data compression and expansion.
  119. If your application does not use compressed files, do not include this
  120. option when you start Btrieve. If your application accesses compressed
  121. Btrieve files, you must specify a value for the /U option when you start
  122. Btrieve.
  123. The value you specify must be at least equal to the length of the
  124. largest record your application reads from or writes to a compressed
  125. Btrieve file. If your application updates records, the buffer size you
  126. specify with the /U option must be large enough to hold the largest
  127. expanded record. Always specify the value for the /U start-up option
  128. in KB. Btrieve will allocate twice the amount of memory you specify
  129. to the compression buffer.
  130. Round any uneven value up to the next higher kilobyte value.
  131. ex. /U:2
  132.